#ifndef _IWEBUI_H_
#define _IWEBUI_H_

interface IWebUIClose
{
	std_method_(BOOL, OnHandleWindowClose)(HWND hWnd) = 0;
};

interface IWebUI : public IBase
{
	std_method(InitParam)(DWORD dwStyles, DWORD dwExStyles) PURE;
	std_method_(HWND, Create)(LPCTSTR lpUrl, IWebUIClose * pCloseHandle, HWND hParentHwnd) PURE;
	std_method(Destroy)() PURE;
	std_method_(BOOL, Show)(int nCmdShow) PURE;
	std_method(DoModal)(LPCTSTR lpUrl, HWND hParentHwnd) PURE;
	std_method(EndModal)() PURE;
	std_method(Navigate)(LPCTSTR lpUrl) PURE;
	std_method_(HWND, GethWnd)() PURE;
};
_DEFINE_IID(IWebUI,"{50F1A6AE-7CD2-4cab-A3CC-A5090859D4DE}");

// {201409F6-22F8-48d3-A69F-7935BDDE6BFA}
_DEFINE_GUID(CLSID_IWebUIWindow,
			0x201409f6, 0x22f8, 0x48d3, 0xa6, 0x9f, 0x79, 0x35, 0xbd, 0xde, 0x6b, 0xfa);

#endif 